//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

//package com.security.sse;

public class Testa {
    private static final String a = "355414";
    private static final char[] b = new char[1024];

    public Testa() {
    }

    public static String a(String var0) {
        byte[] var1 = var0.getBytes();
        byte var2 = 0;
        int var3 = var1.length;
        if (var3 == 0) {
            return "";
        } else {
            int var4 = var2 + var3;
            char[] var5 = new char[var3 << 1];
            int var6 = var2;

            for(int var7 = 0; var6 < var4; var7 += 2) {
                System.arraycopy(b, (var1[var6] & 255) << 1, var5, var7, 2);
                ++var6;
            }

            return new String(var5);
        }
    }

    public static String a() {
        String var0 = b("355414");
        System.out.println(var0);
        byte var1 = 0;
        int var2 = var0.length();
        if (var2 >= 0 && (var2 & 1) == 0) {
            if (var2 == 0) {
                return "";
            } else {
                byte[] var3 = new byte[var2 >>> 1];

                for(int var4 = 0; var4 < var2; var4 += 2) {
                    var3[var4 >>> 1] = a(var0, var1 + var4);
                }

                return new String(var3);
            }
        } else {
            throw new IllegalArgumentException("length: " + var2);
        }
    }

    public static byte a(CharSequence var0, int var1) {
        int var2 = a(var0.charAt(var1));
        int var3 = a(var0.charAt(var1 + 1));
        if (var2 != -1 && var3 != -1) {
            return (byte)((var2 << 4) + var3);
        } else {
            throw new IllegalArgumentException(String.format("invalid byte '%s' at index %d of '%s'", var0.subSequence(var1, var1 + 2), var1, var0));
        }
    }

    public static int a(char var0) {
        if (var0 >= '0' && var0 <= '9') {
            return var0 - 48;
        } else if (var0 >= 'A' && var0 <= 'F') {
            return var0 - 55;
        } else {
            return var0 >= 'a' && var0 <= 'f' ? var0 - 87 : -1;
        }
    }

    public static String b(String var0) {
        StringBuilder var1 = new StringBuilder(var0);
        return var1.reverse().toString();
    }

    static {
        char[] var0 = "0123456789abcdef".toCharArray();

        for(int var1 = 0; var1 < 256; ++var1) {
            b[var1 << 1] = var0[var1 >>> 4 & 15];
            b[(var1 << 1) + 1] = var0[var1 & 15];
        }

    }
}
